package com.xjtu.platform.reader;

import com.xjtu.platform.common.PageParam;
import com.xjtu.platform.reader.dto.BorrowHisDto;
import com.xjtu.platform.reader.dto.CancelReserveDto;
import com.xjtu.platform.reader.dto.ReserveBookDto;
import com.xjtu.platform.reader.dto.ReserveListDto;

import java.sql.Timestamp;
import java.util.Map;

public interface ReserveService {
    boolean reserveBook(String readerId, Timestamp nowTime, ReserveBookDto reserveBookDto);

    Map<String, Object> getReserveList(ReserveListDto dto);

    boolean cancelReserveById(CancelReserveDto cancelReserveDto);

    Map<String, Object> getPenaltyList(BorrowHisDto borrowHisDto);
}
